package com.itypd.pojo;

/*
 * @Description:
 * @Athor: GongMingwei
 * @version: v1.0
 */
public class VolatileTestObj {
    private int i = 0;
    private volatile boolean flag = true;

    public int getI() {
        return i;
    }

    public void setI(int i) {
        this.i = i;
    }

    public boolean getFlag() {
        return flag;
    }

    public void setFlag(boolean flag) {
        this.flag = flag;
    }
}
